package com.supreme.orderserver.service.remote;

import com.supreme.common.dto.UpdateGoodsStockDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "supreme-biz-stock-server", contextId = "stock-service")
public interface BizStockService {

    @PutMapping(value = "/api/stock_feign/stocks")
//    @RequestLine(value = "PUT /api/stock_feign/stocks")
    Integer updateGoodsStock(UpdateGoodsStockDTO updateGoodsStockDTO);
}
